package com.oa.dao;

import java.io.InputStream;
import java.util.List;

import org.jbpm.api.ProcessDefinition;

import com.oa.base.BaseDao;
import com.oa.entity.LiuChengDingYi;

/**
 * @author FengMengHuo
 * 流程定义接口
 */
public interface LiuChengDingYiDao extends BaseDao<LiuChengDingYi>{
	
	// 流程定义的列表
	List<ProcessDefinition> findLiuChengDingYiList();

	// 部署流程定义
	void buShuLiuChengDingYi(LiuChengDingYi liuChengDingYi);

	//删除流程定义
	void deleteLiuChengDingYi(LiuChengDingYi liuChengDingYi);

	//查看流程定义图
	InputStream lookImageById(LiuChengDingYi liuChengDingYi);
}
